﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="New.aspx.cs" Inherits="WebGui.User.New" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Start<asp:TextBox ID="TxtStart" runat="server" />
        <asp:RequiredFieldValidator ControlToValidate="TxtStart" ID="DateemptyvalidatorStarttime" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator id="datevalidatorStarttime" runat="server" ErrorMessage="Not a date" ControlToValidate="TxtStart" 
       ValidationExpression="\d{2}-\d{2}-\d{4} \d{2}:\d{2}:\d{2}"></asp:RegularExpressionValidator>
        <br />
        Slut<asp:TextBox ID="TxtEnd" runat="server" />
        <asp:RequiredFieldValidator ControlToValidate="TxtEnd" ID="Dateemptyvalidatorendtime" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator id="datevalidatorEndtime" runat="server" ErrorMessage="Ikke en dato" ControlToValidate="TxtEnd" 
       ValidationExpression="\d{2}-\d{2}-\d{4} \d{2}:\d{2}:\d{2}"></asp:RegularExpressionValidator>
        <br />
        Start log<asp:TextBox ID="TxtStartLad" runat="server" />
        <asp:RequiredFieldValidator ControlToValidate="TxtStartLad" ID="RequiredFieldValidatorladstart" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator id="RegularExpressionValidatorladstart" runat="server" ErrorMessage="ikke en Led værdi" ControlToValidate="TxtStartLad" 
       ValidationExpression="\d{2},d{8}"></asp:RegularExpressionValidator>
        <br />
        Start lad<asp:TextBox ID="TxtStartLog" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ControlToValidate="TxtStartLog" ID="RequiredFieldValidatorlogstart" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator id="RegularExpressionValidatorlogstart" runat="server" ErrorMessage="ikke en Log værdi" ControlToValidate="TxtStartLog" 
       ValidationExpression="\d{2},d{8}"></asp:RegularExpressionValidator>
        <br />
        Slut log<asp:TextBox ID="TxtEndLad" runat="server" />
        <asp:RequiredFieldValidator ControlToValidate="TxtEndLad" ID="RequiredFieldValidatorladend" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator id="RegularExpressionValidatorladend" runat="server" ErrorMessage="ikke en Led værdi" ControlToValidate="TxtEndLad" 
       ValidationExpression="\d{2},d{8}"></asp:RegularExpressionValidator>
        <br />
        Slut lad<asp:TextBox ID="TxtEndLog" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ControlToValidate="TxtEndLog" ID="RequiredFieldValidatorlogend" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator id="RegularExpressionValidatorlogend" runat="server" ErrorMessage="ikke en Log værdi" ControlToValidate="TxtEndLog" 
       ValidationExpression="\d{2},d{8}"></asp:RegularExpressionValidator>
        <br />
        <asp:DropDownList ID="DdlTecher" runat="server">
        </asp:DropDownList>
        <br/>
        <br />
        <asp:Button ID="BtnSave" runat="server" onclick="BtnSave_Click" Text="Gem" />
        <asp:Button ID="BtnClose" runat="server" onclick="BtnClose_Click" 
            Text="Annuller " />
        <br />
    </div>
    </form>
</body>
</html>
